package com.ny.mapper;

import com.ny.entity.Users;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface UserMapper {
    @Select("Select * form users where = #{username} AND password = #{password}")
    Users findUsernameAndPassword(@Param("username") String username, @Param("password")String password);

}
